@file:Suppress("unused", "SpellCheckingInspection")

object Android {
    const val compileSdk = 33
    const val minSdk = 21
    const val targetSdk = 33

    const val versionName = "1.0.0"
    const val versionCode = 1
}

object Options {
    //是否使用PrivacySentry（隐私合规检测）
    const val usePrivacySentry: Boolean = false
}

object Versions {
    const val fly = "4.5.6"
    const val loadsir = "3.0.1"
    const val itemdecoration = "2.0.1"

    const val brvah = "3.0.14"
    const val mmkv = "1.3.1"
    const val smartrefresh = "2.0.6"
    const val leakcanary = "2.12"
    const val immersionbar = "3.2.2"
    const val agentWeb = "v5.0.6-androidx"
    const val jsbridge = "1.0.4"
    const val permission = "18.3"
    const val relinker = "1.4.4"
    const val patrons = "1.1.0"

    const val umsdk_common = "9.6.5"
    const val umsdk_asms = "1.8.0"
    const val umsdk_apm = "1.9.3"
    const val umsdk_utdid = "1.5.2.3"
    const val umsdk_share = "7.3.2"
    const val wechat = "6.8.0"

    const val privacy_sentry = "1.1.0"
}

object Deps {
    // androidx
    const val constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
    const val viewpager2 = "androidx.viewpager2:viewpager2:1.0.0"
    const val recyclerview = "androidx.recyclerview:recyclerview:1.2.1"

    // fly 快速集成框架
    const val fly = "com.gitee.tiamosu:fly:${Versions.fly}"
    const val fly_http = "com.gitee.tiamosu:fly-http:${Versions.fly}"
    const val fly_imageloader_glide = "com.gitee.tiamosu:fly-imageloader-glide:${Versions.fly}"

    // loadSir 多状态布局
    const val loadsir = "com.gitee.tiamosu:loadsir:${Versions.loadsir}"

    // recyclerView 分割线
    const val itemdecoration = "com.gitee.tiamosu:itemdecoration:${Versions.itemdecoration}"

    // recyclerView 适配器辅助库
    const val brvah = "io.github.cymchad:BaseRecyclerViewAdapterHelper:${Versions.brvah}"

    // 上下拉刷新框架
    const val smartrefresh = "io.github.scwang90:refresh-layout-kernel:${Versions.smartrefresh}"
    const val refresh_header = "io.github.scwang90:refresh-header-classics:${Versions.smartrefresh}"
    const val refresh_footer = "io.github.scwang90:refresh-footer-classics:${Versions.smartrefresh}"
    const val refresh_header_meterial =
        "io.github.scwang90:refresh-header-material:${Versions.smartrefresh}"

    // 微信开源项目，替代SP
    const val mmkv = "com.tencent:mmkv-static:${Versions.mmkv}"

    // agentweb
    const val agentweb = "com.github.Justson.AgentWeb:agentweb-core:${Versions.agentWeb}"

    // jsbridge
    const val jsbridge = "com.github.lzyzsd:jsbridge:${Versions.jsbridge}"

    // 友盟统计及分享
    const val umsdk_common = "com.umeng.umsdk:common:${Versions.umsdk_common}"
    const val umsdk_asms = "com.umeng.umsdk:asms:${Versions.umsdk_asms}"
    const val umsdk_apm = "com.umeng.umsdk:apm:${Versions.umsdk_apm}"
    const val umsdk_utdid = "com.umeng.umsdk:utdid:${Versions.umsdk_utdid}"
    const val umsdk_share_core = "com.umeng.umsdk:share-core:${Versions.umsdk_share}"
    const val umsdk_share_wx = "com.umeng.umsdk:share-wx:${Versions.umsdk_share}"

    //微信官方依赖库、友盟分享需要
    const val wechat = "com.tencent.mm.opensdk:wechat-sdk-android-without-mta:${Versions.wechat}"

    // immersionbar
    const val immersionbar = "com.geyifeng.immersionbar:immersionbar:${Versions.immersionbar}"
    const val immersionbar_ktx =
        "com.geyifeng.immersionbar:immersionbar-ktx:${Versions.immersionbar}"

    // topon 需添加
    const val browser = "androidx.browser:browser:1.5.0"
    const val material = "com.google.android.material:material:1.9.0"

    // permission
    const val permission = "com.github.getActivity:XXPermissions:${Versions.permission}"

    // relinker
    const val relinker = "com.getkeepsafe.relinker:relinker:${Versions.relinker}"

    //一行代码解决 Android 32位应用因虚拟内存不足导致的 libc:abort(signal 6)
    const val patrons = "com.alibaba:patrons:${Versions.patrons}"

    // leakcanary 检测内存泄漏
    const val leakcanary = "com.squareup.leakcanary:leakcanary-android:${Versions.leakcanary}"

    //隐私合规检测
    const val privacy_sentry_hook =
        "com.github.allenymt.PrivacySentry:hook-sentry:${Versions.privacy_sentry}"
    const val privacy_sentry_annotation =
        "com.github.allenymt.PrivacySentry:privacy-annotation:${Versions.privacy_sentry}"
    const val privacy_sentry_proxy =
        "com.github.allenymt.PrivacySentry:privacy-proxy:${Versions.privacy_sentry}"
}